<?php
/**
 * 数据库配置文件
 */
namespace conf;

class DbConf
{
    const DB_DSN      = 'mysql:host=127.0.0.1;dbname=yafdb';
    const DB_PORT     = 3306;
    const DB_USER     = 'root';
    const DB_PWD      = '070010';
    const DB_DATABASE = '';

    const ALIPAY_CONFIG = [
        //应用ID,您的APPID。
        'app_id'               => "2016092400581802",

        //商户私钥
        'merchant_private_key' => "MIIEowIBAAKCAQEAwNaI+5682LFdEVLfpWktvf6UrHwnXfvDWAKtsuFUHAq+DP18Y1y626rtRrUeTq3wgqX9zKdrDUlWLiZh6GK5FgvN6kKOLPhrhnmJVDwvYYnGw9FSm/U4zkjaapb6wJetMdWKewyHKfBhUTOctDSC/+K/gMWDWhAS/QIIh0BmqU89UxeQzGRhV+D+Z2RJZFh/Sse9OUNA864rOY7Q6j7nn0+90b8Br7nDQlZlUJrYDRIEwq8fYVQ0YPKbA8NpomfGuXaBR+mVNpMMG3dcKr78PNcZzaBHgXpp3hiLu0Mt6nl5xmQuAegyL+TNm6kkqfbRDvwCvPvEniAVpnwCTT4FWQIDAQABAoIBADvqrNdZxB2kRmGamWjg3FibYICTdvvpvRF8i5H4F1U7NT/+Bwcsida1LlJ49jjGLOO7RbewEUAomEFwpZ06B35FHq76DQkGCwrWeogUxzgMQhkX0g4pTIQz+MGDtdffiO3iBswi4WBzkxlS6w7G/ikZwBz3wc9bDTtVxWaY6Q0Tyk8dHDmlq2Kcw7s2RzGbGPPWQdG7rDEXlIb095iPhUJHk2Ba9Z2nZxGrWOiT1XRF2JJFEYbdEKcKI4/8Rw63FMDfiUHWXy43JqB5FLFlTsEKtErj1Uyids6MZoh/YGxW2ozL+nvJRdUAsQZM72mvA53tWww4Fl93ttLL6+hzm4ECgYEA8bTC1DiXSmb9ZF9g1gS+X1+3q3E4h/MwV/TPK0Vl1jy/Bh3nL+SprxANto06B4UU/A53yXCD8k/yY5riRF1jwVa5fk0IEjrU1Ods8IfT/s4FE31vxghXUa29sFV76l0IPUl+8aONKNbh//9v4xYqEzSdB+qBaqzgFQg+PNoiaYkCgYEAzD3zPOammCNWgPnYTJDRK29Q0ZPGTskaWWczpyIjIXq+NO5pM04cemrAVYET3+e7TENzkeJMVeDXP/gzQ6FxJrBkDUJRk57/HQVaRkrG4b7PJDoJTe93Trzkh67fQH0SAZFxmL/QwFO8nUWN1JWeCJSl5dHsTrVx280pnBvaWVECgYEA8U+8q9AMC7YjCVDIByQZRHL1lm6lN+WtwEKjitnwQCHJvTuhkolCd4sZhcYdx2AwgS2Ynj59HTCAGL2LZSGv9Fi3PMd/ZWPjFOQwOTwChQP+wWSccSPmuZ8yIJhX7LYRAc8cs/bLeZh/bewCMr/wJdiDZmHT70LFPXpLWMmXTbECgYB+kvn2SR7/dA78+VmCAdGPcHoOl90zIFBTDbEmJ/LLoczU8teBcywU9alilA7kGTGrDrZFt5AFPMVJIKFsjVWZW4F18h6qNMP3kUSkAV2Fs4Gd+tWfVgODaW7bY5V52sjY7fEPb/iH6J0gfmVqVJrOyIiTh+hB0xLP3DKoS16jMQKBgExKve1Ul82lmEYVOUIyI5AV3nLRq95f/Ki6CsMyNxNAkDBPuMhkY4GQw7FG+7PI03rPJ635cJnwPX3kCqMaUvD9EpxUhyDhywf/+UOBrMAqkp8CHXtHjhXtMlW9eqXf36CA/ykSqT5A1e9v/mJAjsg3oVHWCbIKvrjO2SDcHEO6",

        //异步通知地址
        'notify_url'           => "http://133.130.103.57/alipay/notify_url.php",

        //同步跳转
        'return_url'           => "http://133.130.103.57/alipay/return_url.php",

        //编码格式
        'charset'              => "UTF-8",

        //签名方式
        'sign_type'            => "RSA2",

        //支付宝网关
        'gatewayUrl'           => "https://openapi.alipaydev.com/gateway.do",

        //支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
        'alipay_public_key'    => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwNaI+5682LFdEVLfpWktvf6UrHwnXfvDWAKtsuFUHAq+DP18Y1y626rtRrUeTq3wgqX9zKdrDUlWLiZh6GK5FgvN6kKOLPhrhnmJVDwvYYnGw9FSm/U4zkjaapb6wJetMdWKewyHKfBhUTOctDSC/+K/gMWDWhAS/QIIh0BmqU89UxeQzGRhV+D+Z2RJZFh/Sse9OUNA864rOY7Q6j7nn0+90b8Br7nDQlZlUJrYDRIEwq8fYVQ0YPKbA8NpomfGuXaBR+mVNpMMG3dcKr78PNcZzaBHgXpp3hiLu0Mt6nl5xmQuAegyL+TNm6kkqfbRDvwCvPvEniAVpnwCTT4FWQIDAQAB",
    ];
}
